package com.wechat.android.app.global;


/**
 * Created by wangyang on 2017/11/12 0010.
 */
public class Constants {
    public static final String APP_PREF = "czy_sys";
    /*数据库相关配置*/
    public static final int APP_DB_VERSION = 9;
    public static final String DB_NAME = "czy_sys.db";
    public static final String SHARED_PREFERENCES_FILE_NAME = APP_PREF + "_sp_file";
//    public static final String APP_API_BASE = "http://www.bairunrh.com/chatTool/";//公网服务器接口
    public static final String APP_API_BASE = "http://47.104.159.31/";//公网服务器接口
    public static final String SHARED_PREFERENCES_KEY_AUTH_KEY_STORAGE = SHARED_PREFERENCES_FILE_NAME + "_auth_key";

    public static final String SHARED_PREFERENCES_KEY_USER_INFO_MODEL = SHARED_PREFERENCES_FILE_NAME + "_user_info_model";


    /*sharedPreferences KEY*/
    public static final String SHARED_PREFERENCES_KEY_IS_NOTICE_MESSAGE = SHARED_PREFERENCES_FILE_NAME + "_block_message";
    public static final String SHARED_PREFERENCES_KEY_IS_NOTICE_GROUP = SHARED_PREFERENCES_FILE_NAME + "_not_disturb_group";

        /*聊天相关配置*/



    public static final String IM_KEY_STORE_NOTICE = "门店消息";                                   //IM中门店消息的KEY
    public static final String IM_KEY_SYSTEM_NOTICE = "系统消息";                                   //IM中系统消息的KEY
    public static final String IM_KEY_SYSTEM_TIPS = "袋鼠小秘书";                                   //IM中袋鼠小秘书的KEY
    public static final String IM_KEY_PUSH_NOTICE = "推送消息";                                   //IM中门店消息的KEY





    public static final String API_REQSMSCODE = "api/reqSmsCode";//获取验证码
    public static final String API_REGISTER = "api/regist";//注册
    public static final String API_LOGIN = "api/login";//登录
    public static final String API_UPDATEPASSWORD = "api/updatePassword";//修改密码 忘记密码


    public static final String API_GETUSERBYPHONE = "api/getUserByPhone";//搜索好友
    public static final String API_ADDFRIEND = "api/addFriend";//添加好友请求 参数 imKey friendImkey
    public static final String API_GETFRIEND = "api/getFriend";//获取添加请求 参数 imKey
    public static final String API_ADDFRIENDSINGLE = "api/addFriendSingle"; // 添加或拒绝  参数 friendId flag （ture 同意，false 拒绝）

    public static final String API_GETUSERLIST = "api/getUserList";//获取好友列表
    public static final String API_DELFRIENDSINGER = "api/delFriendSingle";//删除好友


    public static final String API_UPDATE = "api/updatePhone";//修改手机号
    public static final String API_UPDATE_USER_INFO = "api/updateUserInfo"; //修改用户信息


    public static final String ACTION_GROUP_CHANAGED = "action_group_changed";
    public static final String ACTION_CONTACT_CHANAGED = "action_contact_changed";
    //intent参数
    public static final String IM_IS_SHOEW_DIALOG = "isShowDialog";

    // RXBUS CODE
    public static final int RXBUS_CODE_REFRESH_MESSAGE = 0X0101;
    public static final int RXBUS_CODE_READ_MESSAGE = 0X0102;
    public static final int RXBUS_CODE_REFRESH_CONTACT = 0X0103;
    public static final int RXBUS_CODE_REFRESH_USERINFO = 0X0104;
}
